package cn.com.xjnt.vas.manage.service;

import java.util.List;

import com.frameworks.core.service.BaseService;

import cn.com.xjnt.vas.manage.domain.entity.Role;
import cn.com.xjnt.vas.manage.domain.entity.RolePermission;

public interface RoleService extends BaseService<Role, Long> {
	/**
	 * 分配权限
	 * @param roleId
	 * @param moduleId
	 * @param permIds
	 */
	void assign(Long roleId, Long moduleId, Long[] permIds);
	
	List<RolePermission> findRolePermission(Long roleId, Long moduleId);
}
